package com.owen.server;

import com.owen.pojo.Supplier;

import java.util.List;

public interface SupplierServer {

    public List<Supplier> findAll();

    public List<Supplier> findByName(Supplier supplier);

    public Supplier findById(Integer id);

    public Integer addSupplier(Supplier supplier);

    public Integer deleteById(Integer id);

    public Integer updateById(Supplier supplier);

    public Integer deleteBatch(Integer [] ids);

}
